import service from './request'

export const get = (url: string, params: any): any =>
  service.get(url, { params: params })
export const post = (url: string, data: any): any => service.post(url, data)
